package com.freewater.springboot.demo.aop.api.advices;

public class EmployeeServiceImpl implements EmployeeService {

    @Override
    public String getEmployeeName(int type) {
        System.out.println("开始执行getEmployeeName方法.......");
        if (type == 1) return "经理";
        if (type == 0) return "普通员工";
        return null;
    }

}
